using Admin.NET.Core;
using SqlSugar;

namespace Admin.NET.Application.Entity.Business;

/// <summary>
/// 租户的子商户配置表
/// </summary>
[SugarTable("WxPaySub", "微信支付子商户相关配置")]
[SysTable]
public class WxPaySub : EntityBase
{
	/// <summary>
	/// 子商户的小程序appid
	/// </summary>
	public string? SubAppId { get; set; }

	/// <summary>
	/// 子商户小程序appsecret
	/// </summary>
	public string? SubAppSecret { get; set; }

	/// <summary>
	///             商户平台的子商户号
	/// </summary>
	public string? SubMerchantId { get; set; }

	/// <summary>
	/// 子商户所属租户id
	/// </summary>
	public long SubTenantId { get; set; }

	/// <summary>
	/// 子商户名称（收款方名称）
	/// </summary>
	public string? SubName { get; set; }

	/// <summary>
	/// 备注
	/// </summary>
	public string? Remark { get; set; }
}
